package com.kj.report.utils.enumUtil;


public enum IndexIconUrl {
    //循环系统
    url_3087(3087,"http://image.jiankangzhan.com/kangjia/1/20170721/f361216a-ec0b-4229-8789-3d4997962d91.png"),
    //消化系统
    url_3095(3095,"http://image.jiankangzhan.com/kangjia/1/20170721/743d790b-5c87-4ecd-ac68-49fb56c5b2f1.png"),
    //呼吸系统
    url_3108(3108,"http://image.jiankangzhan.com/kangjia/1/20170721/473b63e1-a489-499b-bd0a-fd8df45e0ce6.png"),
    //内分泌
    url_3115(3115,"http://image.jiankangzhan.com/kangjia/1/20170721/69ee0e23-474f-4ad6-b978-a91cf37331ed.png"),
    //骨骼系统
    url_3127(3127,"http://image.jiankangzhan.com/kangjia/1/20170721/98254f7a-00b8-476b-bde3-dc8767db14be.png"),
    //免疫系统
    url_3135(3135,"http://image.jiankangzhan.com/kangjia/1/20170721/43d92b73-f61b-49db-8739-7de2a96accbc.png"),
    //生殖系统
    url_3143(3143,"http://image.jiankangzhan.com/kangjia/1/20170721/38359859-7b15-4c1a-9193-3e874e37741d.png"),
    //营养状态
    url_3163(3163,"http://image.jiankangzhan.com/kangjia/1/20170721/2a927222-c329-4f16-a760-c8f148883e8f.png"),
    //有害物质
    url_3195(3195,"http://image.jiankangzhan.com/kangjia/1/20170721/0edbad0a-e045-475d-8583-99c4f3e074fc.png"),
    //反应力
    url_3226(3226,"http://image.jiankangzhan.com/kangjia/1/20170720/32fa4a46-24cd-4ce6-a58b-a1024b95bab7.png"),
    //脑力
    url_3227(3227,"http://image.jiankangzhan.com/kangjia/1/20170720/c64548ef-bde4-4d1b-a5e0-1cf71fd99981.png"),
    //缺水
    url_3228(3228,"http://image.jiankangzhan.com/kangjia/1/20170720/f2f63602-6a93-4995-ac47-320bea7ee527.png"),
    //缺氧
    url_3229(3229,"http://image.jiankangzhan.com/kangjia/1/20170720/b6c3f82a-083a-4bc2-82c5-4d1a28c7ada4.png"),
    //情绪指数
    url_3230(3230,"http://image.jiankangzhan.com/kangjia/appReport/20170322/20a7bc6c-bd13-4634-8e4f-0941a1a09c87.png"),
    //记忆指数(ZS)
    url_3231(3231,"http://image.jiankangzhan.com/kangjia/1/20170720/d6e5f7aa-bfe7-42a3-9080-af3c6ad786b3.png"),
    //酸碱度
    url_3232(3232,"http://image.jiankangzhan.com/kangjia/1/20170720/e438cdba-a665-4285-b0e0-14d6de235da8.png"),
    //皮肤系统
    url_3244(3244,"http://image.jiankangzhan.com/kangjia/1/20170721/8e089a57-2cf6-4a5e-84a0-821362b6b2b8.png");

    private  Integer index;
    private  String url;

    IndexIconUrl(Integer index, String url) {
        this.index = index;
        this.url = url;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public static String getEnumByKey(Integer key){
        if(null == key){
            return null;
        }
        for(IndexIconUrl temp:IndexIconUrl.values()){
            if(temp.getIndex().equals(key)){
                return temp.getUrl();
            }
        }
        return null;
    }
}
